<%--welcome.jsp--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div>
    <%--  登录成功后显示用户信息，而不是重复登录  --%>
        <c:if test="${sessionScope.user != 'admin'}">
            <span>欢迎<span class="um_span">${sessionScope.user}</span>光临书城</span>
            <a href="orderServlet?action=showUserOrders">我的订单</a>
            <a href="userServlet?action=logout">注销</a>&nbsp;&nbsp;
            <a href="index.jsp">返回</a>
        </c:if>

</div>
